using System;

namespace Qplus.protocol
{
    public class C2U_REQ_CHAT_VOICEBEGIN : OutPacket{
    //	kal_uint32 appID; 应用ID
    //	kal_uint8 sessionID; 会话ID

	    /**
	     * 发送语音请求
	     * @param appID
	     * @param sessionID
	     * @return
	     */
	    public C2U_REQ_CHAT_VOICEBEGIN sendVoiceRequset(long appID, long sessionID){
		    init();
		    needReply = true;
		    int len = 0;
		
		    len += put4(appID);
		    len += put4(sessionID);
		
		    postLen(len);
		    return this;
	    }
    }
}
